Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Language Guide / Part 2 - AppleScript Language Reference
Chapter 5 - Objects and References / Using Object Class Definitions


Element Classes

Elements are objects contained within an object. The element classes listed in an object class definition indicate what kinds of elements objects of that object class can contain. An object can contain many elements or none, and the number of elements of a particular class that it contains may change over time. Most application and system objects can contain elements.

The definition in Figure 5-1 shows that a paragraph object can include word elements. It is possible for a paragraph to have no words. At a later time, the same paragraph might have many words.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996